<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			*{
				margin:0;
				padding:0;
			}
			#box{
				border:1px solid red;
				width:600px;
				margin:0 auto;
				overflow: hidden;
			}
			#box div{
				width:100px;
				height:100px;
				border:1px solid blue;
				float:left;
			}	
		</style>
	</head>
	<body>
		<div id="box">
			<div>1</div>
			<div>1</div>
			<div>1</div>
			<div>1</div>
			<div>1</div>
			<div>1</div>
			<div>1</div>
			<div>1</div>
			<div>1</div>
			<div>1</div>
		</div>
		<div style="width:600px;height:500px;background:red;"></div>
	</body>
</html>
